-
-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v10] refactor: use ImplicitDiscreteSystem
to implement affects in callback systems
#3452
base: master
Are you sure you want to change the base?
Conversation
4a6f2f6
to
b7997b0
Compare
ImplicitDiscreteSystem
to implement affects in callback systems ImplicitDiscreteSystem
to implement affects in callback systems
@ChrisRackauckas @AayushSabharwal This is very close, just needs a release for ImplicitDiscreteSolve and getting all the doc blocks working. One of the FMI tests is failing because the reinitialization isn't accurate enough (like 1.008e-8 but the tolerance is 1e-8), but I am unsure if that is related. |
ImplicitDiscreteSystem
to implement affects in callback systems ImplicitDiscreteSystem
to implement affects in callback systems
@@ -25,6 +25,67 @@ the event occurs). These can both be specified symbolically, but a more [general | |||
functional affect](@ref func_affects) representation is also allowed, as described | |||
below. | |||
|
|||
## Symbolic Callback Semantics (changed in V10) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## Symbolic Callback Semantics (changed in V10) | |
## Symbolic Callback Semantics |
Mention that in the NEWS.md file.
@@ -54,6 +54,7 @@ import Moshi | |||
using Moshi.Data: @data | |||
using NonlinearSolve | |||
import SCCNonlinearSolve | |||
using ImplicitDiscreteSolve |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this needed as a hard dep?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IDSolve is called in the implicit affect codegen
Close #2639 #2612